-
Notifications
You must be signed in to change notification settings - Fork 0
Led code #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Led code #14
Conversation
may need to review imports in LedStrip.java
|
@abi-appusamy9932 Ok the issue with the LED library code, I believe, is that you need to call the updates in a subsystem periodic for it to do anything. You create the LEDStrip in RobotContainer (line 51/52) LEDStrip is a subsystem (so should have its periodic ) That periodic updates io (which is LedIOCANdle class). There isn't anything in any of the periodics to call sendSolidColor() or applyEffects(). You probably need to add an update method to the ledIOCANDle that is called in the LEDStrip.Periodic() that can make sure either the sendSolidColor or the applyEffect functions are called. |
No description provided.